__author__ = 'banderjumah'
from django.conf.urls import patterns, url
from company import views

urlpatterns = patterns('',
   	url(r'^(?P<pkid>\d+)/doc/(?P<docid>\d+)/postEdit$', views.validateEditDoc, name='validateDocument'),
    url(r'^$', views.index, name='index'),
    url(r'^(?P<pkid>\d+)/addDoc$', views.addDoc, name='add document'),
	url(r'^(?P<pkid>\d+)/viewEmployee/(?P<eid>\d+)/$', views.viewEmployee, name='View Employee'),
    url(r'^(?P<pkid>\d+)/viewEmployee/(?P<eid>\d+)/addDocument$', views.addDocEmployee, name='View Employee'),
    url(r'^(?P<pkid>\d+)/doc/(?P<docid>\d+)$', views.viewDoc, name='view document'),
    url(r'^(?P<pkid>\d+)/postDoc/', views.validateDoc, name='validateDocument'),
    url(r'^(?P<pkid>\d+)/', views.details, name='details'),
    
    )
